package com.edu.medicalpro.bean;

public class User {


    /**
     * code : 200
     * message : 操作成功
     * data : {"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwaG9uZSI6IjE1MjEzNDU1MzQ4IiwiZXhwIjoxNjgzNjIzMDM5LCJ1c2VySWQiOiIyNSJ9.kjtu1isNuEdHwNigvjhVefDVSr0zgxS-u2sVpppFUdY","expire":1440}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "User{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }

    public static class DataBean {
        /**
         * token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwaG9uZSI6IjE1MjEzNDU1MzQ4IiwiZXhwIjoxNjgzNjIzMDM5LCJ1c2VySWQiOiIyNSJ9.kjtu1isNuEdHwNigvjhVefDVSr0zgxS-u2sVpppFUdY
         * expire : 1440
         */

        private String token;
        private int expire;

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public int getExpire() {
            return expire;
        }

        public void setExpire(int expire) {
            this.expire = expire;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "token='" + token + '\'' +
                    ", expire=" + expire +
                    '}';
        }
    }

}
